.background{
  position: relative;
  height: 98vh;
  width: 100%;
  background-color: #f1f4f6;
}
input{
  padding: 0 0.5vw;
  outline: none;
  border: 1px solid #D9D9D9;
  opacity: 1;
  border-radius: 2px 2px 0px 0px;
}
*{
  margin: 0;
  padding: 0;
  font-family: PingFang SC;
}
ul,li{
  list-style: none;
}
.flex{
  display: flex;
}

.left{
  display: inline-block;
  text-align: left;
}
.right{
  float: right;
  
}
#container{
  display: flex;
  & > div:last-child:not(.layout_item_menu){
    
    margin-top: 5vh;
    width: 83vw; // 有子菜单都是83
    height: 95vh;
    overflow: hidden;
    box-sizing: border-box;
  }
}

input[type=number] {
  
  -moz-appearance:textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input.margin-left::placeholder{
  padding-left: 8vw;
}

// tabel详情
.el-table td .green, .el-table th .green {
  cursor: pointer;
  padding: 0.6vh 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #07c160;
  margin: 0 1vw;
}

// 创路线按钮样式
.circuitbtn {
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: inline-block;
  padding: 0 10px;
  border-radius: 4px;
  border: none;
  line-height: 4.2vh;
  height: 4.2vh;
  margin-right: 0.4vw;
  background-color: #07c160;
  color: #ffffff;
  span {
    line-height: 4vh;
  }
  &:hover {
    background-color: #0dd46d;
  }
}
// 透明样式
.lucency{
  color: #07c160;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid #07c160;
  &:hover {
    background-color: #07c160;
    color: #ffffff;
  }
  &:active{
    background-color: #0dd46d;
  }
}

// *******************************详情弹窗
.absolute{
  user-select: none;
  position: absolute;
  z-index: 18;
  padding: 1.4vh 1.6vw;
  top: 50%;
  border-radius: 12px;
  transform: translate(-50%,-50%);
  left: 50%;
  background-color: #ffffff;
}
// 确定上架
.upputaway{
  width: 14vw;
  padding: 0;
  overflow: hidden;
  .abs_text{
    font-size: 16px;
    font-weight: 550;
    line-height: 11vh;
  }
  .checkbox{
    >*{
      cursor: pointer;
      display: inline-block;
      width: 50%;
      border-top: 1px solid #D9D9D9;
      box-sizing: border-box;
      padding:1.2vh 3vh;
    }
    > *:active{
      background-color: #D9D9D9;
    }
    > *:hover{
      background-color: #666666;
      color: #ffffff;
    }
    span:first-child{
      color: #999;
      border-right: 1px solid #D9D9D9;
    }
    span:last-child{
      color: #07c160;
      border-right: 1px solid #D9D9D9;
    }
  }
}
           // 弹窗
.upbox{
  font-size: 14px;
  width: 26vw;
  transform: translate(-50%,-50%);
  h6{
    line-height: 4vh;
    text-align: left;
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 1.6vh;
  }
  span#wrong{
    font-size: 30px;
    user-select: none;
    cursor: pointer;
    width: 4vh;
    height: 4vh;
    line-height: 4vh;
    right: 2vw;
    top: 0.8vh;
    border-radius: 50%;
    position: absolute;
    font-weight: 300;
    &:active{
     color: #999;
    }
  }
  > div {
    width: 98%;
    margin: 0 auto;

    >span{
      position: relative;
      right: 2.8vw;
      text-align: right;
      display: block;
      font-size: 12px;
      color: #AAAAAA;
      padding-bottom: 1vh;
    }
    > div{
      margin-bottom: 1.4vh;
      text-align: left;
      >span:first-child{
        text-align: right;
        display: inline-block;
        width: 40%;
        margin-right: 1vw;
      }
      div{
        border: 1px solid #d9d9d9;
        display: inline-block;
        width: 11.8vw;
        >input{
          display: inline-block;
          border: none;
          padding: 0.8vh;
          width: 60%;
          color: #666;
        }
        > span{
          display: inline-block;
          width: 20%;
          position: relative;
          left: 1vw;
          color: #666;
        }
      }
      
    }
    & > div:last-child{
      .button{
        display: block;
        width: 50%;
        margin:0 auto;
        text-align: center;
      }
    }
  }
}
.append{
  font-size: 15px;
  &::before{
    position: relative;
    top: 0.2vh;
    display: inline-block;
    width: 2vh;
    height: 2vh;
    background:url('../assets/append.png') no-repeat;background-size:100% 100%;
    content: "";
  }
}

.background-block {
  position: fixed;
  width: 100vw;
  top: 0;
  left: 0;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 17;
  background-size: cover;
  box-sizing: border-box;
}
/*******************************结束**************************/
// el的tabel
.el-table{
  i{
    display: inline-block;
    height: 2vh;
    width: 2vh;
    margin-right: 2vh;
    background-size:100% 100%;
  }
  // 审核中
  i.under_review{
    background:url('../assets/under_review.png') no-repeat;background-size:100% 100%;
  }
  // 未通过
  i.not_pass{
    background:url('../assets/not_pass.png') no-repeat;background-size:100% 100%;
  }
  // 待上架
  i.to_stay{
    background:url('../assets/to_stay.png') no-repeat;background-size:100% 100%;
  }
  // 已上架3
  i.has_been{
    background:url('../assets/has_been.png') no-repeat;background-size:100% 100%;
  }
}


// 通用子集菜单
// 子级路由
.layout_item_menu {
  position: relative;
  padding-top: 14vh;
  margin-top: 5vh;
  height: 81vh;
  width: 8vw;
  background-color: #dcdcdc;
  opacity: 1;
  font-size: 14px;
 
  & > div.ditch,& > div:first-child{
    padding-left: 1vw;
    height: 2.4vh;
    overflow: hidden;
    font-weight: 550;
    text-align: left;
  }
  & > div.ditch{
    margin-top: 4vh;
  }

  a {
    text-decoration: none;
    display: block;
    line-height: 4.6vh;
    height: 4.6vh;
    overflow: hidden;
    padding-left: 1.1vw;
    margin-bottom: 1vh;
    text-align: left;
    color: #666666;
    &:hover {
      background-color: #ccc;
    }
  }
  .active {
    background-color: #ccc;
  }
}

// 通用子路由向左侧动画
.layout_item_menu {
  position: relative;
  animation: toright 0.9s ease;
  z-index: 6;
}
.animation{
  background-color: #ffffff;
}
/* 子路由进入动画  */
@keyframes toright {
  0% {
    width: 0vw;
    opacity: 0;
  }
  100% {
    width: 8vw;
    opacity: 1;
  }
}

// 右侧div容器样式
.layout_right_textcontent {
  height: 100%;
  margin-top: 4px;
  padding: 2vh;
  background-color: #f1f4f6;
}

// form表单


.applyBtn {
  position: absolute;
  display: block;
  cursor: pointer;
  width: 250px;
  background-color: #07c160;
  height: 30px;
  color: #ffffff;
  border-radius: 8px;
  line-height: 30px;
  bottom: 2vh;
  font-size: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 600;
}

.layout_left_box{
  width: 9vw;
}

.formdata{
  
  font-size: 14px;
  position: absolute;
  margin-top: 3.6vh;
  width: 50.4vw;
  padding-top: 4vh;
  padding-bottom: 2vh;

  top: 33%;
  left: 50%;
  transform: translate(-50%, -28%);
  background: #ffffff;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  opacity: 1;
  border-radius: 15px;

  // 图片上传
  .upload-box {
    position: relative;
    border: 1px solid #07c160;
    height: 5.6vw;
    width: 6vw;
    border-radius: 4px;
    overflow: hidden;

    .avatar {
      position: relative;
      width: 6vw;
      height: 5.6vw;
      border: none;
      z-index: 2;
    }

    input {
      outline: none;
      position: absolute;
      cursor: pointer;
      top: -34%;
      left: 0;
      z-index: 4;
      width: 100%;
      height: 16vh;
      border: none;
    }

    .avatar-uploader-icon {
      display: block;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      width: 5.9vw;
      z-index: 2;
      height: 5.9vw;
      background: #ffffff;
      box-sizing: border-box;
      opacity: 1;
      border-radius: 2px 2px 0px 0px;
      text-align: center;
    }
  }
}

// 线路管理
.circuit-box{
  margin-top: 5vh;
  padding-right: 2vw;
  border-top: 1px solid #ccc;
  width: 91vw;
  height: 95vh;
  box-sizing: border-box;
}
.circuit-head{
  padding: 1vh 2.4vh;
  box-sizing: border-box;
  background: #ffffff;
  box-shadow: 0px 3px 3px rgb(0 0 0 / 16%);
  opacity: 1;
  .title{
    text-align: left;
    font-weight: 550s;
    line-height: 5vh;
    border-bottom: 1px solid #f3f3f3;
    .right{
      .button:first-child{
        margin-left: 20px;
      }
    }
  }
}
.button{
  cursor: pointer;
  user-select: none;
  display: inline-block;
  padding: 0 20px;
  border-radius: 4px;
  line-height: 4.2vh;
  background-color: rgba(0, 0, 0, 0);
  border: 1px solid #07c160;
  color: #07c160;
  margin-right: 10px;
  &:last-child{
    background-color: #07c160;
    color: #ffffff;
  }
  &:hover {
    color: #ffffff;
    background-color: #0dd46d;
  }
  &:active{
    background-color: #07c160;
    color: #ffffff;
  }
}


.circuit-body {
    // 简易模式
  div.simple{ 
    // setcircuit 下删除模块
  & >div span.delete {
    cursor: pointer;
    height: 1.2vw;
    line-height: 1.2vw;
    color: #f6f6ff;
    width: 1.2vw;
    z-index: 15;
    text-align: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 1);
    position: absolute;
    top: 0.5vw;
    right: 0.5vw;
    &:hover {
      background-color: rgba(0, 0, 0, 0.6);
    }
  }
  }

  margin-top: 1.6vh;
  display: flex;
  & > div{
    width: 33%;
    margin: 0 1.8vw;
    padding: 1.4vh;
    border-radius: 6px;
    background-color:#f1f4f6;
    &.circuit_right_content {
      width: 28%;
    }
    &>div.textarea-box{
      span{
        bottom:50px ;
        position: relative;
      }
      textarea{
        height: 50px;
      }
    }
  }
  // 左侧内容
  
  & >div:nth-child(1){
    background-color: #ffffff;
    &> div{
      position: relative;
      i.question{
        right: 0;
        top: 0.8vh;
        position: absolute;
        display: inline-block;
        width: 2.8vh;
        height: 2.8vh;
        background:url('../assets/question.png') no-repeat;background-size:100% 100%;
      }
    }
  }
  & >div:nth-child(1) >div{
    margin-bottom: 1.8vh;
    &.text{
      font-size: 13px;
      position: relative;
      color: rgba(153, 146, 146, 0.733);
      left: 5.5vw;
      span{
        font-size: 14px;
        width: 45% !important;
      }
    }
    &>:not(.datacontent > div,.datacontent1 > div):first-child{
      &.a{
        position: relative;
      }
      display: inline-block;
      width: 36%;
      text-align: right;
      &.switch{
        position: relative;
        right: 12px;
      }
    }
    &>:not(.datacontent > div,.datacontent1 > div):last-child{
      display: inline-block;
      margin-left: 6%;
      width: 40%;
      text-align: left;
    }
  }
  textarea::placeholder{
    font-weight: 600;
  }
  div.text_area{
    position: relative;
    textarea{
      width: 95%;
      border: none;
      height: 10vh;
      box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.16);
    }
  } 
  input:not(.upload,.table-input),textarea,div#destination{
    font-family: Sans-serif;
    outline: none;
    width: 40%;
    border-radius: 4px;
    display: inline-block;
    color: rgba(0, 0, 0, 0.6);
    padding: 1vh 0.6vw;
    resize:none;
    border:1px solid #ccc;
    &#destination{
      user-select: none;
      cursor: pointer;
      width: 40%;
      position: relative;
      font-size:14px;
      ul.guide{
        height: 9.6vh;
        li:last-child{
          border-bottom: none;
        }
      }
      ul{
        left: -1px;
        position: absolute;
        background-color: #ffffff;
        border: 1px solid #ccc;
        z-index: 10;
        width: 100%;
        top: 98%;
        height: 30vh;

        // overflow:scroll;
        overflow-x: hidden;
        // 滚动条样式
      &::-webkit-scrollbar {
        width: 6px;
        background-color: #f9f9ff;
        background-clip: padding-box;
        // min-height: 1vw;
        -webkit-border-radius: 2em;
        -moz-border-radius: 2em;
        border-radius: 2em;
      }
      &::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-border-radius: 2em;
        -moz-border-radius: 2em;
        border-radius: 2em;
      }
      }
      i{
        position: absolute;
        right: 2vh;
        top: 1.6vh;
        height: 1.5vh;
        width:  1.5vh;
        background:url('../assets/toright.png') no-repeat;background-size:100% 100%;
        transform:rotate(90deg);
      }
      span{
        display: none !important;
      }

      // 市级select 样式
      .city{
        width:100%;
        position: absolute;
        z-index: 11;
        top: 4.6vh;
        left: 13vw;
        height: 30vh;
      }
      li{
        cursor: pointer;
        width: 14vw;
        padding: 1vh;
        border-bottom: 1px solid #ccc;
        &:hover{
          background-color: #ccc;
        }
      }
    }
  }
  .circuit_right_content{
    padding-top: 0.5vh;
  }
}

input:disabled{
  background-color :rgba(0, 0, 0, 0.2);
  color: #666;
  opacity:1;  //默认的不透明级别为0.3
}

// 顶部面包屑按钮
.success {
  border: 1px solid #07c160;
  color: #07c160;
  box-sizing: border-box;
  border-radius: 4px;
}
.default {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.45098039);
  opacity: 1;
  color: #666666;
  border-radius: 4px;
}
.btn {
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
  line-height: 4.4vh;
  padding: 0 1.6vw;
  margin-left: 1.2vw;
}